package com.jacen.fzxs.dao.impl;

import org.springframework.stereotype.Repository;

import com.jacen.fzxs.dao.IRoleUserDao;
import com.jacen.fzxs.entity.RoleUserEntity;


@Repository
public class RoleUserDao extends BaseDao<RoleUserEntity> implements IRoleUserDao {

	@Override
	public void deleteRoleUser(String roleId, String userId) {
		String sql = "delete from %s where role_Id='%s' and user_Id='%s'";
		sql = String.format(sql, tableName,roleId,userId);
		getJdbcTemplate().execute(sql);
	}


}
